package com.easyCode.sqlMapper.template;

import java.util.HashMap;
import java.util.Map;

/**
 * @author 大忽悠
 * @create 2022/12/3 20:14
 */
public class TemplateContext {
    public static final String JAVA_FILE_NAME="javaFileName";

    private final Map<String,String> context=new HashMap<>();

    private TemplateContext() {
    }

    public String getVal(String key){
        return context.get(key);
    }

    public void setVal(String key,String val){
        context.put(key,val);
    }

    public static TemplateContext getContext(){
        return new TemplateContext();
    }
}
